Hostinger\Surveys\Surveys C

Total Complexity 118
Dependencies 6
Dependents 2
Total lines 582
Lines of code 422
Logical lines of code 241
Comment lines 10
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
get_specified_survey_questions()
A
40 10 59
is_ai_onboarding_survey_enabled()
A
55 10 18
is_client_eligible()
A
49 9 31
is_woocommerce_survey_enabled()
A
56 9 16
submit_survey_answers()
A
48 7 34
is_woocommerce_admin_page()
A
56 8 18
is_content_generation_survey_enabled()
S
58 8 14
is_affiliate_survey_enabled()
S
58 8 14
is_prebuild_website_survey_enabled()
S
58 8 14
get_required_survey_items()
S
49 5 39
get_survey_questions()
S
53 5 24
filter_questions_by_slug()
S
61 4 12
get_between_rule_values()
S
61 4 12
get_oldest_product_date()
S
56 3 21
generate_survey_html()
S
55 1 27
customer_ai_csat_survey()
S
69 2 7
ai_plugin_survey()
S
69 2 7
affiliate_plugin_survey()
S
69 2 7
prebuild_website_survey()
S
69 2 7
extract_between_values()
S
70 2 5
customer_csat_survey()
S
69 2 7
add_user_answers()
S
65 2 9
is_survey_question_required()
S
77 2 3
is_time_elapsed()
S
72 1 5
get_wp_survey_questions()
S
72 1 5
__construct()
S
69 1 7